package com.example.admin.mapper;


import com.example.admin.entity.UserCenter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserCenterMapper {
    List<UserCenter> userCenterInfoPage();

    int deleteUserById(@Param("id") Integer id);

    int addUserInfo(@Param("userCenter") UserCenter userCenter);

    List<UserCenter> selectUserByUserName(@Param("username") String username);

    int editUserInfo(@Param("userCenter") UserCenter userCenter);
}
